home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / jpegsrc4.zip / ANSI2KNR.C next >
Text File  |  1992-11-04  |  17KB  |  478 lines

  1. /* Copyright (C) 1989, 1991 Aladdin Enterprises.  All rights reserved.
  2.    Distributed by Free Software Foundation, Inc.
  3.  
  4. This file is part of Ghostscript.
  5.  
  6. Ghostscript is distributed in the hope that it will be useful, but
  7. WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  8. to anyone for the consequences of using it or for whether it serves any
  9. particular purpose or works at all, unless he says so in writing.  Refer
  10. to the Ghostscript General Public License for full details.
  11.  
  12. Everyone is granted permission to copy, modify and redistribute
  13. Ghostscript, but only under the conditions described in the Ghostscript
  14. General Public License.  A copy of this license is supposed to have been
  15. given to you along with Ghostscript so you can know your rights and
  16. responsibilities.  It should be in a file named COPYING.  Among other
  17. things, the copyright notice and this notice must be preserved on all
  18. copies.  */
  19.  
  20. /*
  21. ---------- Here is the GhostScript file COPYING, referred to above ----------
  22. ----- These terms do NOT apply to the JPEG software itself; see README ------
  23.  
  24.             GHOSTSCRIPT GENERAL PUBLIC LICENSE
  25.             (Clarified 11 Feb 1988)
  26.  
  27.  Copyright (C) 1988 Richard M. Stallman
  28.  Everyone is permitted to copy and distribute verbatim copies of this
  29.  license, but changing it is not allowed.  You can also use this wording
  30.  to make the terms for other programs.
  31.  
  32.   The license agreements of most software companies keep you at the
  33. mercy of those companies.  By contrast, our general public license is
  34. intended to give everyone the right to share Ghostscript.  To make sure
  35. that you get the rights we want you to have, we need to make
  36. restrictions that forbid anyone to deny you these rights or to ask you
  37. to surrender the rights.  Hence this license agreement.
  38.  
  39.   Specifically, we want to make sure that you have the right to give
  40. away copies of Ghostscript, that you receive source code or else can get
  41. it if you want it, that you can change Ghostscript or use pieces of it
  42. in new free programs, and that you know you can do these things.
  43.  
  44.   To make sure that everyone has such rights, we have to forbid you to
  45. deprive anyone else of these rights.  For example, if you distribute
  46. copies of Ghostscript, you must give the recipients all the rights that
  47. you have.  You must make sure that they, too, receive or can get the
  48. source code.  And you must tell them their rights.
  49.  
  50.   Also, for our own protection, we must make certain that everyone finds
  51. out that there is no warranty for Ghostscript.  If Ghostscript is
  52. modified by someone else and passed on, we want its recipients to know
  53. that what they have is not what we distributed, so that any problems
  54. introduced by others will not reflect on our reputation.
  55.  
  56.   Therefore we (Richard M. Stallman and the Free Software Foundation,
  57. Inc.) make the following terms which say what you must do to be allowed
  58. to distribute or change Ghostscript.
  59.  
  60.  
  61.             COPYING POLICIES
  62.  
  63.   1. You may copy and distribute verbatim copies of Ghostscript source
  64. code as you receive it, in any medium, provided that you conspicuously
  65. and appropriately publish on each copy a valid copyright and license
  66. notice "Copyright (C) 1989 Aladdin Enterprises.  All rights reserved.
  67. Distributed by Free Software Foundation, Inc." (or with whatever year is
  68. appropriate); keep intact the notices on all files that refer to this
  69. License Agreement and to the absence of any warranty; and give any other
  70. recipients of the Ghostscript program a copy of this License Agreement
  71. along with the program.  You may charge a distribution fee for the
  72. physical act of transferring a copy.
  73.  
  74.   2. You may modify your copy or copies of Ghostscript or any portion of
  75. it, and copy and distribute such modifications under the terms of
  76. Paragraph 1 above, provided that you also do the following:
  77.  
  78.     a) cause the modified files to carry prominent notices stating
  79.     that you changed the files and the date of any change; and
  80.  
  81.     b) cause the whole of any work that you distribute or publish,
  82.     that in whole or in part contains or is a derivative of Ghostscript
  83.     or any part thereof, to be licensed at no charge to all third
  84.     parties on terms identical to those contained in this License
  85.     Agreement (except that you may choose to grant more extensive
  86.     warranty protection to some or all third parties, at your option).
  87.  
  88.     c) You may charge a distribution fee for the physical act of
  89.     transferring a copy, and you may at your option offer warranty
  90.     protection in exchange for a fee.
  91.  
  92. Mere aggregation of another unrelated program with this program (or its
  93. derivative) on a volume of a storage or distribution medium does not bring
  94. the other program under the scope of these terms.
  95.  
  96.   3. You may copy and distribute Ghostscript (or a portion or derivative
  97. of it, under Paragraph 2) in object code or executable form under the
  98. terms of Paragraphs 1 and 2 above provided that you also do one of the
  99. following:
  100.  
  101.     a) accompany it with the complete corresponding machine-readable
  102.     source code, which must be distributed under the terms of
  103.     Paragraphs 1 and 2 above; or,
  104.  
  105.     b) accompany it with a written offer, valid for at least three
  106.     years, to give any third party free (except for a nominal
  107.     shipping charge) a complete machine-readable copy of the
  108.     corresponding source code, to be distributed under the terms of
  109.     Paragraphs 1 and 2 above; or,
  110.  
  111.     c) accompany it with the information you received as to where the
  112.     corresponding source code may be obtained.  (This alternative is
  113.     allowed only for noncommercial distribution and only if you
  114.     received the program in object code or executable form alone.)
  115.  
  116. For an executable file, complete source code means all the source code for
  117. all modules it contains; but, as a special exception, it need not include
  118. source code for modules which are standard libraries that accompany the
  119. operating system on which the executable file runs.
  120.  
  121.   4. You may not copy, sublicense, distribute or transfer Ghostscript
  122. except as expressly provided under this License Agreement.  Any attempt
  123. otherwise to copy, sublicense, distribute or transfer Ghostscript is
  124. void and your rights to use the program under this License agreement
  125. shall be automatically terminated.  However, parties who have received
  126. computer software programs from you with this License Agreement will not
  127. have their licenses terminated so long as such parties remain in full
  128. compliance.
  129.  
  130.   5. If you wish to incorporate parts of Ghostscript into other free
  131. programs whose distribution conditions are different, write to the Free
  132. Software Foundation at 675 Mass Ave, Cambridge, MA 02139.  We have not
  133. yet worked out a simple rule that can be stated here, but we will often
  134. permit this.  We will be guided by the two goals of preserving the free
  135. status of all derivatives of our free software and of promoting the
  136. sharing and reuse of software.
  137.  
  138. Your comments and suggestions about our licensing policies and our
  139. software are welcome!  Please contact the Free Software Foundation,
  140. Inc., 675 Mass Ave, Cambridge, MA 02139, or call (617) 876-3296.
  141.  
  142.                NO WARRANTY
  143.  
  144.   BECAUSE GHOSTSCRIPT IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY
  145. NO WARRANTY, TO THE EXTENT PERMITTED BY APPLICABLE STATE LAW.  EXCEPT
  146. WHEN OTHERWISE STATED IN WRITING, FREE SOFTWARE FOUNDATION, INC, RICHARD
  147. M. STALLMAN, ALADDIN ENTERPRISES, L. PETER DEUTSCH, AND/OR OTHER PARTIES
  148. PROVIDE GHOSTSCRIPT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
  149. EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  150. WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE
  151. ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF GHOSTSCRIPT IS WITH
  152. YOU.  SHOULD GHOSTSCRIPT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL
  153. NECESSARY SERVICING, REPAIR OR CORRECTION.
  154.  
  155.   IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL RICHARD M.
  156. STALLMAN, THE FREE SOFTWARE FOUNDATION, INC., L. PETER DEUTSCH, ALADDIN
  157. ENTERPRISES, AND/OR ANY OTHER PARTY WHO MAY MODIFY AND REDISTRIBUTE
  158. GHOSTSCRIPT AS PERMITTED